package run.aaa.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import run.aaa.dao.IUserDao;
import run.aaa.entity.User;
import run.aaa.service.IUserService;

@Service("userService")
public class UserServiceImpl implements IUserService{
	
	@Resource
	private IUserDao userDao;

	@Override
	public User getUserById(int id) {
		return this.userDao.selectByPrimaryKey(id);
	}

}
